package com.secsys.model;

import java.util.Date;



/**
 * TbSysUserlogon entity. @author MyEclipse Persistence Tools
 */

public class TbSysUserlogon implements java.io.Serializable {

	// Fields

	private Integer id;
	private TbSysUser tbSysUser;
	private Date ghostTime;
	private Date lastTime;
	private String lastAddress;

	// Constructors

	/** default constructor */
	public TbSysUserlogon() {
	}

	/** full constructor */
	public TbSysUserlogon(TbSysUser tbSysUser, Date ghostTime,
			Date lastTime, String lastAddress) {
		this.tbSysUser = tbSysUser;
		this.ghostTime = ghostTime;
		this.lastTime = lastTime;
		this.lastAddress = lastAddress;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public TbSysUser getTbSysUser() {
		return this.tbSysUser;
	}

	public void setTbSysUser(TbSysUser tbSysUser) {
		this.tbSysUser = tbSysUser;
	}

	public Date getGhostTime() {
		return this.ghostTime;
	}

	public void setGhostTime(Date ghostTime) {
		this.ghostTime = ghostTime;
	}

	public Date getLastTime() {
		return this.lastTime;
	}

	public void setLastTime(Date lastTime) {
		this.lastTime = lastTime;
	}

	public String getLastAddress() {
		return this.lastAddress;
	}

	public void setLastAddress(String lastAddress) {
		this.lastAddress = lastAddress;
	}

}